package com.library.xtype;

import android.view.View;
import android.view.ViewGroup;
import com.library.xtype.NuwaGroupRecyclerViewAdapter.BinderGroup;

/**
 * 默认Nuwa Binder，生命周期空实现
 *
 * @author: zhiwei
 * @date: 2017-03-21 10:38
 * @version: 9.1.0
 */
public abstract class DefaultNuwaItemBinder<VO> implements INuwaItemBinder<VO> {
    protected BinderGroup<VO> mBinderGroup;
    public DefaultNuwaItemBinder() {

    }

    @Override
    public void onBindView(int positionOfFeeds, View convertView, ViewGroup parent, BinderGroup<VO> binderGroup) {
        this.onBindView(positionOfFeeds, convertView, parent, binderGroup.mFeedVO);
        mBinderGroup = binderGroup;
    }

    @Override
    public void setOnClickListener(View.OnClickListener listener) {

    }

    @Override
    public void onCreate() {

    }

    @Override
    public void onStart() {

    }

    @Override
    public void onResume() {

    }

    @Override
    public void onPause() {

    }

    @Override
    public void onStop() {

    }

    @Override
    public void onDestroy() {
        mBinderGroup = null;
    }

}
